package com.sunducation.co.bpw;

/**
 * @description: 串的使用问题
 * @author:chenwenbiao
 * @createTime:2019/7/9 15:34
 * @Version：1.0
 **/
public class StringTest {

    public static void main(String[] argv){
        String s = new String("");

        if(s != ""){
            System.out.println("不相等");
        }

        if(s.equals("")){
            System.out.println("相等");
        }
    }
}
